import request from '@/utils/request'

export function findCfgPageList(data) {
  return request({
    url: 'student/behavior/cfg/findCfgPageList',
    method: 'post',
    data
  })
}

export function createOrUpdateCfg(data) {
  return request({
    url: 'student/behavior/cfg/createOrUpdateCfg',
    method: 'post',
    data
  })
}

export function delCfg(id) {
  return request({
    url: 'student/behavior/cfg/delCfg/' + id,
    method: 'delete'
  })
}